package com.t.bricks.bussiness.db.entity.synchtable.base;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.t.bricks.annotation.DataInfo;

/**
 * 同步表信息'SynchTable'表实体类
 * 警告:非数据库字段禁止在此添加,应该创建扩展实体中添加
 * @author HuangXinBian
 * @DateTime 2021年08月25日 15:16:19
 */
@ApiModel("同步表信息SynchTable")
@DataInfo(sDbName="BricksCommonBusiness", sTableName="SynchTable")
public class SynchTableBase implements Serializable {

	private static final long serialVersionUID = 1L;// 使用rmi时需修改

	/**
	 * 记录编号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="SynchTable",
		sName="uId", sComment="记录编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=true, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=0 )
	@ApiModelProperty(value="记录编号", example="")
	//[end]
	protected String uId;

	/**
	 * 同步的类型(表名)
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="SynchTable",
		sName="sTable", sComment="同步的类型(表名)", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=50, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=1 )
	@ApiModelProperty(value="同步的类型(表名)", example="")
	//[end]
	protected String sTable;

	/**
	 * 数据编号
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="SynchTable",
		sName="sDataId", sComment="数据编号", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=2 )
	@ApiModelProperty(value="数据编号", example="")
	//[end]
	protected String sDataId;

	/**
	 * 归属
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="SynchTable",
		sName="sOwner", sComment="归属", isDbField=true, sDbFileType="varchar",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=32, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=3 )
	@ApiModelProperty(value="归属", example="")
	//[end]
	protected String sOwner;

	/**
	 * 时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")//解决表单提交时字符串时间值错误
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="SynchTable",
		sName="dDate", sComment="时间", isDbField=true, sDbFileType="datetime",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=23, isDecimal=false, iIntegralLength=-1, iDecimalLength=-1, iIndex=4 )
	@ApiModelProperty(value="时间", example="")
	//[end]
	protected Date dDate;

	/**
	 * 数据
	 */
	//[start]
	@DataInfo( sDbName="BricksCommonBusiness", sTableName="SynchTable",
		sName="sData", sComment="数据", isDbField=true, sDbFileType="longtext",
		sDefaultData="", isExtra=false, iskey=false, isNull=false,
		iMaxLength=100, isDecimal=false, iIntegralLength=2, iDecimalLength=2, iIndex=5 )
	@ApiModelProperty(value="数据", example="")
	//[end]
	protected String sData;

	/**
	 * 取 记录编号
	 * @return String
	 */
	public String getuId() {
		return uId;
	}

	/**
	 * 设置记录编号
	 * @param uId
	 */
	public void setuId(String uId) {
		this.uId = uId;
	}

	/**
	 * 取 同步的类型(表名)
	 * @return String
	 */
	public String getsTable() {
		return sTable;
	}

	/**
	 * 设置同步的类型(表名)
	 * @param sTable
	 */
	public void setsTable(String sTable) {
		this.sTable = sTable;
	}

	/**
	 * 取 数据编号
	 * @return String
	 */
	public String getsDataId() {
		return sDataId;
	}

	/**
	 * 设置数据编号
	 * @param sDataId
	 */
	public void setsDataId(String sDataId) {
		this.sDataId = sDataId;
	}

	/**
	 * 取 归属
	 * @return String
	 */
	public String getsOwner() {
		return sOwner;
	}

	/**
	 * 设置归属
	 * @param sOwner
	 */
	public void setsOwner(String sOwner) {
		this.sOwner = sOwner;
	}

	/**
	 * 取 时间
	 * @return Date
	 */
	public Date getdDate() {
		return dDate;
	}

	/**
	 * 设置时间
	 * @param dDate
	 */
	public void setdDate(Date dDate) {
		this.dDate = dDate;
	}

	/**
	 * 取 数据
	 * @return String
	 */
	public String getsData() {
		return sData;
	}

	/**
	 * 设置数据
	 * @param sData
	 */
	public void setsData(String sData) {
		this.sData = sData;
	}

}
